import 'package:flutter/material.dart';
void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title:'welcom to flutter',
      home: Scaffold(
        appBar: new AppBar(title:new Text('flutter')),
        body:new ListView(
          children: <Widget>[
            new ListTile(
              title: new Text('新闻'),
              leading: new Icon(Icons.add_shopping_cart),
            ),
            new ListTile(
              title: new Text('资讯'),
              leading: new Icon(Icons.add_shopping_cart),
            ),
            new ListTile(
              title: new Text('联系我们'),
              leading: new Icon(Icons.add_shopping_cart),
            )
          ],
        )
      ),
    );
  }
}

